package org.dfzt.modules.online.cgform.converter.bb;

import java.util.HashMap;
import java.util.Map;

import org.dfzt.common.util.oConvertUtils;
import org.dfzt.modules.online.cgform.entity.OnlCgformField;


public class a extends org.dfzt.modules.online.cgform.converter.aa.a {
    private String f;

    public String getTreeText() {
        return this.f;
    }


    public void setTreeText(String treeText) {
        this.f = treeText;
    }


    public a(OnlCgformField paramOnlCgformField) {
        super("SYS_CATEGORY", "ID", "NAME");
        this.f = paramOnlCgformField.getDictText();
        this.field = paramOnlCgformField.getDbFieldName();
    }


    @Override
    public Map<String, String> getConfig() {
        if (oConvertUtils.isEmpty(this.f)) {
            return null;
        }
        HashMap hashMap = new HashMap();
        hashMap.put("treeText", this.f);
        hashMap.put("field", this.field);
        return hashMap;
    }
}
